package com.eight.cloud.admin;

import com.eight.cloud.openfeign.config.DefaultFeignConfig;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.openfeign.EnableFeignClients;


@SpringBootApplication
@MapperScan("com.eight.cloud.admin.mapper")
@EnableFeignClients(basePackages = "com.eight.cloud.openfeign", defaultConfiguration = DefaultFeignConfig.class)
public class CloudAdminApplication {

    public static void main(String[] args) {
        SpringApplication.run(CloudAdminApplication.class, args);
    }
}
